﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace FutianCloudAPIService.Utils
{
    class PathUtil
    {
        internal static string GetLog4netPath()
        {
            return Combine( "Config", "log4netService.config");
        }

        public static string GetRootPath()
        {
            return Combine("Config", "root.config");
        }

        public static string GetLogPath()
        {
            return Combine("logs");
        }

        private static string Combine(params string[] args)
        {
            return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Path.Combine(args));
        }
    }
}
